<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>
    	<style type="text/css">
			.Tab{ border-collapse:collapse; width:1100px; height:30px;}
			.Tab td{ border:solid 1px #000}
			</style>
  </head>
	<body>
		<h1 align="center">
			iT wOrks.<br>
			tHis iS cAmpus fAir mAnage Page.<br>
		</h1>
		<hr>
		
		<table align="center" cellspacing="0" class="Tab">
	  	<tr>
	    	<td align="center"><a href="__APP__/City">城市列表</a></td>
	    	<td align="center"><a href="__APP__/School/">学校列表</a></td>
	    	<td align="center"><a href="__APP__/Book">书籍列表</a></td>	    	
	    	<td align="center"><a href="__APP__/Other">生活用品列表</a></td>
	  	</tr>
  	</table>
  	<hr>
  	
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;>>城市列表&nbsp;&nbsp;&nbsp;&nbsp;<a href="__APP__/CityAdd">[增加]</a><br>
		<hr>
  	
  	<table align="center" cellspacing="0" class="Tab">
  		<tr>
	    	<td align="center">ID</td>
	    	<td align="center">类型</td>
	    	<td align="center">名称</td>	    	
	    	<td align="center">编辑</td>
	    	<td align="center">查看</td>
	  	</tr>
  		<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$City): ++$i;$mod = ($i % 2 )?><tr>
  			<td align="center"><?php echo ($City["id"]); ?></td>
				<td align="center"><?php echo ($City["region_type"]); ?></td>
  			<td align="center"><?php echo ($City["region_name"]); ?></td>
  			<td align="center"><a href="__APP__/CityAdd/Edit/id/<?php echo ($City["id"]); ?>">编辑</a></td>
  			<td align="center"><a href="__APP__/CityAdd/View/id/<?php echo ($City["id"]); ?>">查看</a></td>
			</tr><?php endforeach; endif; else: echo "" ;endif; ?>
		</table>
		
		<div class="green-black"><?php echo ($page); ?></div>
		<hr>
		 
	</body>
</html>